package com.qlc.spring.cloud.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * Name:  UserProviderApplication
 * User:  wang chang
 * CreateTime: 2019-05-28 16:09
 **/
@SpringBootApplication
//@EnableDiscoveryClient
@EnableEurekaClient
@EnableCircuitBreaker
public class UserHystrix01ProviderApplication {

    public static void main(String[] args) {
        SpringApplication.run(UserHystrix01ProviderApplication.class, args);
    }
}
